@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/basic/basicPosition/basicPosition_hx.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">库位表管理</span>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm15 layui-col-md15 layui-col-lg15">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <select id="positionState" lay-filter="positionState">
                                    <option value="">选择状态</option>
                                    <option value="1">启用</option>
                                    <option value="2">禁用</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="warehouseId" lay-filter="warehouseId">
                                    <option value="">选择仓库</option>
                                    @for(item in wlist!){
                                    <option value="${item.id}">${item.warehouseName}</option>
                                    @}
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="positionAreaId" lay-filter="positionAreaId">
                                    <option value="">选择库区</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="positionType" lay-filter="positionType">
                                    <option value="">选择类型</option>
                                    <option value="存储位">存储位</option>
                                    <option value="拣货位">拣货位</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="kkw" lay-filter="kkw">
                                    <option value="">选择空库位</option>
                                    <option value="1">空库位</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="ywdp" lay-filter="ywdp">
                                    <option value="">选择一位多品</option>
                                    <option value="1">一位多品</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <input id="condition" class="layui-input" type="text" placeholder="库位编号"/>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索
                                </button>
                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加
                                </button>
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出
                                </button>
                                <button id="btnExpimport" class="layui-btn icon-btn"><i class="layui-icon">&#xe67c;</i>导入excel
                                </button>
                                <button id="btnExpimportUpdata" class="layui-btn icon-btn"><i class="layui-icon">&#xe67c;</i>导入更新excel
                                </button>
                                <button id="btnRevoke" class="layui-btn layui-btn-danger icon-btn"><i
                                        class="layui-icon">&#xe640;</i>批量删除
                                </button>
                                <button id="btnPrint" class="layui-btn layui-btn-normal"><i
                                        class="layui-icon layui-icon-print"></i>批量打印库位码
                                </button>
                                <button id="btnGoodsPositionCode" class="layui-btn layui-btn-danger"><i
                                        class="layui-icon layui-icon-print"></i>打印库位商品码
                                </button>
                                <button id="pickWarehouse" class="layui-btn icon-btn"><i class="layui-icon">&#xe601;</i>同步新零帮库位信息</button>

                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="basicPositionTable" lay-filter="basicPositionTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="tableBar">
	<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>

<script type="text/html" id="statusTpl">
    <input type="checkbox" lay-filter="positionState" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用" {{d.positionState=='1'?'checked':''}} />
</script>
@}